import { CardEditableParamsDefault, CardDataEditableParamsCommonDefault } from "@/views/card/js/data/cardDatas/card-datas-default.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";
const CARD_166 =  {
  lc_round_img: {
    ...CardEditableParamsDefault.ImageNormal,
    label: '头像',
    res_type: 'String',  // Array : fileList, String : value
    placeholder: '尺寸严格按照设置的宽高，小于200kb，jpg,jpeg,png,gif格式',
    limit: 1,
    size: 200,
    accept: '.jpg, .jpeg, .png, .gif',
    tooltips: TooltipsData.image[4],
  },
  lc_background: {
    ...CardEditableParamsDefault.ImageNormal,
    label: '背景图',
    res_type: 'String',  // Array : fileList, String : value
    placeholder: '尺寸严格按照设置的宽高，小于500kb，jpg,jpeg,png,gif格式',
    limit: 1,
    size: 500,
    accept: '.jpg, .jpeg, .png, .gif',
    tooltips: TooltipsData.image[3],
  },
  scheme: {
    ...CardEditableParamsDefault.InputNormal,
    label: '跳转链接',
    placeholder: '请填入跳转链接',
  },
  lc_isplay: {
    ...CardEditableParamsDefault.SwitchNormal,
    label: '是否播放动画',
    bIsUpdateManual: true,
    boolReplace: {
      boolTrue: '1',
      boolFalse: '0',
    },
  },

  lc_lotties: {
    ...CardEditableParamsDefault.Lists,
    label: 'c位图',
    limit: 1,
    del_disable: true,
    param_params: {
      key: {
        ...CardEditableParamsDefault.InputNormal,
        label: 'lottie key',
        placeholder: '请填入lottie key',
        disabled: true
      },
      url: {
        ...CardEditableParamsDefault.ImageNormal,
        label: 'lottie 图',
        res_type: 'String',  // Array : fileList, String : value
        placeholder: '尺寸严格按照设置的宽高，小于500kb，jpg,jpeg,png,gif格式',
        limit: 1,
        size: 500,
        accept: '.jpg, .jpeg, .png, .gif',
        tooltips: TooltipsData.image[3],
      },
    }
  },

  lc_infos: {
    ...CardEditableParamsDefault.Lists,
    label: '左上角文字',
    // limit: 3,
    param_params: {
      text: {
        ...CardEditableParamsDefault.InputNormal,
        label: '文字',
        placeholder: '请填入文字',
      },
      text_size: {
        ...CardEditableParamsDefault.SliderNormal,
        label: '文字大小',
        step: 1,
        max: 100,
        min: 0,
      },
      text_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '文字颜色',
        value: '#FFFFFF',
        format: 'hex',
        isAlpha: false,
      },
      bg_start_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '背景颜色(渐变开始)',
        value: '#FF600E',
        format: 'hex',
        isAlpha: false,
      },
      bg_end_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '背景颜色(渐变结束)',
        value: '#FFA043',
        format: 'hex',
        isAlpha: false,
      },
    }
  },

  lc_content: {
    ...CardEditableParamsDefault.Obj,
    label: '左下角文字',
    param_params: {
      text: {
        ...CardEditableParamsDefault.InputNormal,
        label: '文字',
        placeholder: '请填入文字',
      },
      text_size: {
        ...CardEditableParamsDefault.SliderNormal,
        label: '文字大小',
        step: 1,
        max: 100,
        min: 0,
      },
      text_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '文字颜色',
        value: '#FFCDA2',
        format: 'hex',
        isAlpha: false,
      },
    }
  },

  lc_button: {
    ...CardEditableParamsDefault.Obj,
    label: '右下角按钮',
    param_params: {
      text: {
        ...CardEditableParamsDefault.InputNormal,
        label: '按钮文字',
        placeholder: '请填入按钮文字',
      },
      text_size: {
        ...CardEditableParamsDefault.SliderNormal,
        label: '按钮文字大小',
        step: 1,
        max: 100,
        min: 0,
      },
      text_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '按钮文字颜色',
        value: '#FFCDA2',
        format: 'hex',
        isAlpha: false,
      },
      bg_start_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '按钮背景颜色(渐变开始)',
        value: '#FFEFDB',
        format: 'hex',
        isAlpha: false,
      },
      bg_end_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '按钮背景颜色(渐变开始)',
        value: '#FFE0AA',
        format: 'hex',
        isAlpha: false,
      },
      bg_line_color: {
        ...CardEditableParamsDefault.ColorNormal,
        label: '按钮边框颜色',
        value: '#FF8355',
        format: 'hex',
        isAlpha: false,
      },
    }
  },

  ...CardDataEditableParamsCommonDefault,
};
export default CARD_166;
